Skip to main content

All Questions

3votes
2answers
302views

How to detect out-bound port from PID

I have several applications that run on random ports. How would I take the pid or the file location and find which port it is running on? Example of desired output: www-data/apache = 80 my-awesome-...
Joe John's user avatar

close